package com.sf.fy.uav.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sf.fy.uav.common.response.operational.ActivityRewardRulesResp;
import com.sf.fy.uav.entity.ActivityRewardRules;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 活动奖励规则表 Mapper 接口
 * </p>
 *
 * @author LTQ
 * @since 2024-10-09
 */
@Mapper
public interface ActivityRewardRulesMapper extends BaseMapper<ActivityRewardRules> {

    /**
     * 根据活动id集合查询所有的规则
     * @param activityIds
     * @return
     */
    List<ActivityRewardRulesResp> findListByAcIds(@Param("activityIds") List<String> activityIds);
}
